namespace CSharpePro._1021;

public class Student
{
    private int id;
    private string name;
    private string userEmail;
    
    public int Id
    {
        get=>id;
        set=>id=value;
    }

    public string Name
    {
        get=>name;
        set=>name=value;
    }

    public string UserEmail
    {
        get=>userEmail;
        set=>userEmail=value; 
    }
    public Student()
    {
        
    }

    public Student(int id)
    {
        this.id = id;
    }

    public Student(String name)
    {
        this.name = name;
    }

    public Student(int id, string name)
    {
        this.id = id;
        this.name = name;
    }

    public override string ToString()
    {
        return $"id:{id}, name:{name}, email:{userEmail}";
    }
}